<cfsetting enablecfoutputonly="true">
 <!--- 
|| LEGAL ||
$Copyright: Daemon Pty Limited 1995-2003, http://www.daemon.com.au $
$License: Released Under the "Common Public License 1.0", http://www.opensource.org/licenses/cpl.php$

|| VERSION CONTROL ||
$Header: /cvs/farcry/farcry_mollio/webskin/includes/dmUtility.cfm,v 1.2 2006/04/05 00:40:13 gstewart Exp $
$Author: gstewart $
$Date: 2006/04/05 00:40:13 $
$Name:  $
$Revision: 1.2 $

|| DESCRIPTION || 
$Description: Footer Template to display utilies menu
|| DEVELOPER ||
$Developer: Gavin Stewart (gavin@daemon.com.au)$
--->
<!--- @@displayname:  --->
<!--- @@author: Gavin Stewart (gavin@daemon.com.au)--->

<cfimport taglib="/farcry/core/tags/webskin" prefix="skin">
<cfimport taglib="/farcry/core/tags/container" prefix="con">

<cfset oTree=createObject("component", "farcry.core.packages.farcry.tree")>
<cfset navFilter=arrayNew(1)>
<cfset navfilter[1]="t.status IN (#listQualify(request.mode.lvalidstatus, '''')#)">
<cfset qChildren=oTree.getDescendants(objectid=application.navid.footer,aFilter=navfilter)>
<cfset iCounter=1>

<cfoutput>
<div id="footer">
</cfoutput>

<con:container label="#stobj.objectID#_footerNote" defaultMirrorLabel="Global Footer">

<cfoutput>
	<cfif qChildren.recordCount><p></cfif>
</cfoutput>

<cfloop query="qChildren">
	<skin:buildLink objectid="#qChildren.objectid#"><cfoutput>#qChildren.ObjectName#</cfoutput></skin:buildLink>
	<cfif iCounter neq qChildren.recordcount>
		<cfoutput>&nbsp;|&nbsp;</cfoutput>
	</cfif>
	<cfset iCounter=iCounter+1>
</cfloop>

<cfoutput>
	<cfif qChildren.recordCount></p></cfif>
</div>
</cfoutput>

<cfsetting enablecfoutputonly="true">